-- GENERATED SPELL FOR [Archmage Tervosh] --


function spell0_4967(pUnit, Event) --@Proudmoore\'s Defense,n/a--
pUnit:FullCastSpellOnTarget(7120,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4967', 3000, 1)
end

function Sorts_4967(pUnit, Event)
local choix_sorts_4967 = math.random(0, 0)
if choix_sorts_4967 == 0 then
pUnit:RegisterEvent('spell0_4967', 1, 1)
end
end

function mob4967_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4967', math.random(1500, 3000), 1)
end

function mob4967_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4967_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4967_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4967, 1, 'mob4967_Action')
RegisterUnitEvent(4967, 2, 'mob4967_Leave')
RegisterUnitEvent(4967, 3, 'mob4967_Kill')
RegisterUnitEvent(4967, 4, 'mob4967_Die')
